ReadAndLoop.asm
Language: 8080 Assembly
Last Modified: 2022-11-13 1:20:20 AM UTC
File Size: 390 bytes
Last Modified: 2022-11-13 1:20:20 AM UTC
File Size: 390 bytes
http://www.penguinstew.ca/example/AltairAdder/ReadAndLoop.asm
; Read Value and Loop Program, displays value read from switches using address lights
ORG 0000H
IN FFH ; 0000: DB FF Read value from switches
MOV D, A ; 0002: 57 Move to High register
LP: LDAX D ; 0003: 1A Load (display) address
JMP LP ; 0004: C3 03 00 Jump to display
1
2
3
4
5
6